projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab9a3b0
)
commit: Add errprefix for bareuser metadata
author
Colin Walters
<walters@verbum.org>
Tue, 25 Feb 2025 18:33:48 +0000
(13:33 -0500)
committer
Colin Walters
<walters@verbum.org>
Tue, 25 Feb 2025 19:58:35 +0000
(14:58 -0500)
To aid debugging.
Signed-off-by: Colin Walters <walters@verbum.org>
src/libostree/ostree-repo-commit.c
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-repo-commit.c
b/src/libostree/ostree-repo-commit.c
index 18b2562c8ae752b829725e418c171aa535aac95a..5c5ac729f2cdcbe332a320e5c3087d21ec398dd0 100644
(file)
--- a/
src/libostree/ostree-repo-commit.c
+++ b/
src/libostree/ostree-repo-commit.c
@@
-139,6
+139,7
@@
gboolean
_ostree_write_bareuser_metadata (int fd, guint32 uid, guint32 gid, guint32 mode, GVariant *xattrs,
GError **error)
{
+ GLNX_AUTO_PREFIX_ERROR ("Writing bareuser metadata", error);
if (xattrs != NULL && !_ostree_validate_structureof_xattrs (xattrs, error))
return FALSE;
g_autoptr (GVariant) filemeta = create_file_metadata (uid, gid, mode, xattrs);